package com.java1412;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * @author java1412
 * @since 2023-10-29 10:15:24
 */
@SpringBootApplication
@EnableEurekaClient // 开启eureka客户端
@EnableDiscoveryClient  // 开启服务发现客户端
@EnableZuulProxy    // 启动网关
public class ServiceZuulApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceZuulApplication.class, args);
    }
}
